package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

/**
 * CTassName: DeptService
 * Package: com.itheima.service
 * Description:
 *
 * @Author xw
 * @Create 2023/11/4 19:55
 * @Version 1.0
 */

public interface DeptServiceJob {

    //  查询
    Dept getNameList(Integer id);

    // 修改
    Boolean update(Dept deptRequest);

    List<Dept> list();

    void delete(Integer id);

    void addDept(Dept dept);
}
